package com.goblin.model.order.po;

import com.goblin.model.base.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "t_order_logistics")
@Entity
public class Logistics extends BaseEntity {

    @Column(name = "order_code", columnDefinition = "varchar(255) COMMENT '订单编号'")
    private String orderCode;

    @Column(name = "logistics_name", columnDefinition = "varchar(255) COMMENT '物流公司名'")
    private String logisticsName;

    @Column(name = "logistics_no", columnDefinition = "varchar(255) COMMENT '物流公司编号'")
    private String logisticsNo;

    @Column(name = "deliveryNo", columnDefinition = "varchar(255) COMMENT '快递单号'")
    private String deliveryNo;

    @Column(name = "btm", columnDefinition = "datetime COMMENT '快递发货时间'")
    private Date btm;

    @Column(name = "etm", columnDefinition = "datetime COMMENT '快递收货时间'")
    private Date etm;

}
